//
//  DAloginPersonalInformation.m
//  DAKnowledge
//
//  Created by DreamArts on 16/5/24.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import "DAloginPersonalInformation.h"
#import "MJExtension.h"

@implementation DAloginPersonalInformation
/** 一键归档 解档*/
MJExtensionCodingImplementation

- (void)dataTransformModelWith:(NSDictionary *)dic{
    DAloginPersonalInformation *login  = [DAloginPersonalInformation mj_objectWithKeyValues:dic];
    /** 根据路径存到本地*/
    NSString *filePath = [NSSearchPathForDirectoriesInDomains(NSDocumentationDirectory, NSUserDomainMask, YES).lastObject stringByAppendingString:@"DALogin"];
    [NSKeyedArchiver archiveRootObject:login toFile:filePath];
    
    
}
@end
